package com.usooft.metaTalent.core.system.mapper;

import com.usooft.metaTalent.core.system.entity.EmployeeRole;
import com.usooft.metaTalent.core.system.query.EmployeeRoleQuery;
import com.usooft.metaTalent.core.system.wrapper.EmployeeRoleWrapper;
import java.lang.Long;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EmployeeRoleMapper {
    int add(EmployeeRole employeeRole);

    int update(EmployeeRole employeeRole);

    int delete(EmployeeRole employeeRole);

    EmployeeRole get(Long id);

    List<EmployeeRoleWrapper> list(EmployeeRoleQuery query);

    int count(@Param("filter") EmployeeRoleQuery.Filter filter);
}
